import request from "@/utils/request";

export function configPage(data) {
  return request({
    url: "/v1/base-config/page",
    method: "get",
    params: data
  });
}

export function configSave(data) {
  return request({
    url: "/v1/base-config/save",
    method: "post",
    data: data
  });
}

export function configUpdate(data) {
  return request({
    url: "/v1/base-config/update",
    method: "post",
    data: data
  });
}

export function deleteById(id) {
  return request({
    url: "/v1/base-config/" + id,
    method: "delete"
  });
}
